package com.testplatform.aitestplatform.mapper;

import java.util.List;
import com.testplatform.aitestplatform.domain.TestEnvironment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
 * DEV环境Mapper接口
 * 
 * @author carrier
 * @date 2025-10-26
 */
@Mapper
public interface TestEnvironmentMapper extends BaseMapper<TestEnvironment>
{
    /**
     * 查询DEV环境
     * 
     * @param id DEV环境主键
     * @return DEV环境
     */
    public TestEnvironment selectTestEnvironmentById(Long id);

    /**
     * 查询DEV环境列表
     * 
     * @param testEnvironment DEV环境
     * @return DEV环境集合
     */
    public List<TestEnvironment> selectTestEnvironmentList(TestEnvironment testEnvironment);

    /**
     * 新增DEV环境
     * 
     * @param testEnvironment DEV环境
     * @return 结果
     */
    public int insertTestEnvironment(TestEnvironment testEnvironment);

    /**
     * 修改DEV环境
     * 
     * @param testEnvironment DEV环境
     * @return 结果
     */
    public int updateTestEnvironment(TestEnvironment testEnvironment);

    /**
     * 删除DEV环境
     * 
     * @param id DEV环境主键
     * @return 结果
     */
    public int deleteTestEnvironmentById(Long id);

    /**
     * 批量删除DEV环境
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTestEnvironmentByIds(Long[] ids);
}
